Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

 Helpers

  ExternalSource

  ExternalSourceInspector

  Follower

  InputDeviceBlockReader

  AudioBlockDelegate(float[])

  blockSize

  Callback

  deviceName

  sampleRate

  ScaleByGain

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class InputDeviceBlockReader

Reads an audio input device and delivers blocks of a given blockSize of audio samples in a callback
when new samples are available.
VisibilityPublic
ExtendsMonoBehaviour

Public variables

delegate void AudioBlockDelegate(float[] samples)Passes a block of audio samples.
int blockSizeAmount of audio samples to be delivered per Callback.
AudioBlockDelegate CallbackCalled when a new block of samples have arrived.
string deviceNameName of the target device or empty string for the default device.
int sampleRateTarget device sample rate. Will be overridden if the device doesn't support it.
Only updated when the component is enabled.